package download;

public class StubForWebServiceMethod {

	/** we assume that every function has only one input. 
	 * Hence, the URL is split into a prefix and a suffix and in the middle the input value
	 */
	public String prefix=null;
	public String suffix=null;
	
	public StubForWebServiceMethod(String prefix, String suffix){
		this.prefix=prefix;
		this.suffix=suffix;
	}
	
	public String getURLForInput(String input){
		if(input==null | input.length()==0) return null;
		return prefix+input+suffix;
	}
}
